package com.njxxted.activiti.modules.api.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 消息表
 * </p>
 *
 * @author ostrich
 * @since 2019-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Message对象", description="消息表")
public class MessageVo implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "通知消息业务id")
    private String businessId;

    @ApiModelProperty(value = "类型（通知、公共）")
    private String types;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "简要")
    private String shortly;

    @ApiModelProperty(value = "正文")
    private String content;

    @ApiModelProperty(value = "收件人id")
    private String recipient;

    @ApiModelProperty(value = "附件id")
    private String attachment;

    @ApiModelProperty(value = "添加时间")
    private LocalDateTime addTime;

    @ApiModelProperty(value = "添加人")
    private String addUser;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "模板")
    private String template;

    @ApiModelProperty(value = "模板对应参数")
    private String conditionMap;
}
